package com.lan.workflow.entity;



import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;



import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.*;

import lombok.Data;

/**
 * <p>
 * 
 * </p>
 *
 * @author lanwp
 * @since 2020-08-13
 */
@Data
@TableName("leave_apply")
@ApiModel(value="")
public class LeaveApply implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private String userId;
    private LocalDateTime startTime;
    private LocalDateTime endTime;
    private String leaveType;
    private String reason;
    private LocalDateTime createTime;
    /**
    * 流程实例ID
    */
    @ApiModelProperty(value="流程实例ID")
    private String procInstId;
    /**
    * 流程状态：BMJLSP部门经理审批，RSSP人事审批，TZSQ调整申请
    */
    @ApiModelProperty(value="流程状态：BMJLSP部门经理审批，RSSP人事审批，TZSQ调整申请")
    private String wfStatus;
    /**
    * 更新wf_status的时间
    */
    @ApiModelProperty(value="更新wf_status的时间")
    private LocalDateTime wfStatusTime;


}
